package com.wyh.mapper.g3mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyh.domain.dto.g3dto.CustomerPayDetailDto;
import com.wyh.domain.po.g3po.CustomerBuilding;
import com.wyh.domain.po.g3po.CustomerPayDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CustomerBuildingMapper extends BaseMapper<CustomerBuilding> {
    //根据id查询楼栋名称
    List<CustomerBuilding> selectBuildingName(@Param("ids") List<Integer> id);
    //根据楼栋查询楼层
    List<CustomerBuilding> selectFloorsByBuilding(@Param("list") List<CustomerBuilding> builds);

    //根据楼层查询客户
    List<CustomerBuilding> selectCustomerName(@Param("list") List<CustomerBuilding> floors);

    //查询客户欠费金额详细数据
    List<CustomerPayDetail> selectCustomerOnePayDetail(@Param("dto") CustomerPayDetailDto customerNames);

    List<CustomerPayDetail> selectCustomerFourPayDetail(@Param("dto") CustomerPayDetailDto customerNames);

    List<CustomerPayDetail> selectCustomerSixPayDetail(@Param("dto") CustomerPayDetailDto customerNames);


}
